package com.reform.service;

import com.reform.pojo.expert.ExpertScore;
import com.baomidou.mybatisplus.extension.service.IService;
import com.reform.res.Result;

import java.sql.SQLException;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author mortale
 * @since 2021-08-25
 */
public interface IExpertScoreService extends IService<ExpertScore> {

    /**
     * 创建专家打分信息
     *
     * @param expertScore
     * @return
     */
    Result creatExpertScore(ExpertScore expertScore) throws SQLException;

    /**
     * 删除专家成绩
     *
     * @param expertScore
     * @return
     */
    Result deleteExpertScore(ExpertScore expertScore) throws SQLException;

    /**
     * 修改专家成绩
     *
     * @param expertScore
     * @return
     */
    Result updateExpertScore(ExpertScore expertScore) throws SQLException;

    /**
     * 获取所有专家成绩
     *
     * @param
     * @return
     */
    Result getExpertScores() throws SQLException;

    /**
     * 通过pro_id获取所有专家成绩
     *
     * @param proId
     * @return
     */
    Result getExpertScoreByProId(String proId) throws SQLException;
}
